<?php /* Smarty version Smarty-3.1.12, created on 2014-07-27 01:26:19
         compiled from "F:\Wshop\wshop\views\wdmin\ajaxloadorderlist.tpl" */ ?>
<?php /*%%SmartyHeaderCode:229453d3e4bbbc1d98-34456645%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '110683e6b03386fc8b748c1069123cdb17247314' => 
    array (
      0 => 'F:\\Wshop\\wshop\\views\\wdmin\\ajaxloadorderlist.tpl',
      1 => 1405395088,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '229453d3e4bbbc1d98-34456645',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'orderlist' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_53d3e4bbc88718_85559922',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_53d3e4bbc88718_85559922')) {function content_53d3e4bbc88718_85559922($_smarty_tpl) {?><?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['oi'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['oi']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['name'] = 'oi';
$_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['orderlist']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['oi']['total']);
?>
    <div class="orderlist" data-id="<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['order_id'];?>
" data-pid="<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['wepay_serial'];?>
" id="orderlst<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['order_id'];?>
">
        <div id="orderWpa<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['order_id'];?>
">
            <div class="orderwpa-top">
                <span class="orderwpa-serial">
                    订单号: <?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['serial_number'];?>
 
                    支付号: <?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['wepay_serial'];?>

                </span>
                <span class="orderwpa-amount">&yen;<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['order_amount'];?>
</span>
            </div>
            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['od'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['od']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['od']['name'] = 'od';
$_smarty_tpl->tpl_vars['smarty']->value['section']['od']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['od']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['od']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['od']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['od']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['od']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['od']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['od']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['od']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['od']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['od']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['od']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['od']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['od']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['od']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['od']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['od']['total']);
?>
                <div style="margin-top: 10px;">
                    <img width="40px" style="float:left;border:1px solid #ddd;" src="static/product_hpic/<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['data'][$_smarty_tpl->getVariable('smarty')->value['section']['od']['index']]['catimg'];?>
" />
                    <div style="margin-left: 50px;">
                        <?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['data'][$_smarty_tpl->getVariable('smarty')->value['section']['od']['index']]['product_name'];?>

                        <br />
                        <i class="opprice">&yen;<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['data'][$_smarty_tpl->getVariable('smarty')->value['section']['od']['index']]['product_discount_price'];?>
</i> &times; 
                        <i id="order<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['order_id'];?>
count" class="opcount"><?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['data'][$_smarty_tpl->getVariable('smarty')->value['section']['od']['index']]['product_count'];?>
件</i>
                    </div>
                </div>
            <?php endfor; endif; ?>
            <div style="padding: 5px 0;text-align: left;border-top:1px solid #dedede;font-size:13px;color:#666;line-height:25px;margin-top: 13px;" class="clearfix">
                <span style='font-size: 14px;color:#222;'><?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['address']['user_name'];?>
</span> 电话：<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['address']['tel_number'];?>
 邮编：<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['address']['postal_code'];?>
 <br/>
                地址：<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['address']['address'];?>

            </div>
        </div>
        <div class="orderwpa-bottom clearfix">
            <a class="olbtn express various" href="#inline" data-orderid="<?php echo $_smarty_tpl->tpl_vars['orderlist']->value[$_smarty_tpl->getVariable('smarty')->value['section']['oi']['index']]['order_id'];?>
">发货通知</a>
        </div>
    </div>
<?php endfor; endif; ?><?php }} ?>